if (inspected_node != NULL)
{
+ gtk_snapshot_push_clip (snapshot,
+ &GRAPHENE_RECT_INIT (0, 0,
+ gtk_widget_get_width (widget),
+ gtk_widget_get_height (widget)),
+ "MagnifierClip");
+
graphene_matrix_init_identity (&transform);
graphene_matrix_scale (&transform, priv->magnification, priv->magnification, 1);
gtk_snapshot_push_transform (snapshot, &transform, "Magnifier transform");
gtk_snapshot_append_node (snapshot, inspected_node);
gtk_snapshot_pop (snapshot);
+
+ gtk_snapshot_pop (snapshot);
}